import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:smooth_page_indicator/smooth_page_indicator.dart';

class ThemePageIndicator extends StatelessWidget {
  final int count;
  final PageController controller;

  const ThemePageIndicator({super.key, required this.count, required this.controller});

  @override
  Widget build(BuildContext context) {
    return SmoothPageIndicator(
        controller: controller,
        count: count,
        effect: WormEffect(
          dotWidth: 20,
          dotHeight: 3,
          spacing: 0,
          offset: 10,
          dotColor: Colors.transparent,
          activeDotColor: Color.fromRGBO(255, 255, 255, 1),
        ));
  }
}
